//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================
#define PKT_WARN_IDLE					1
#define PKT_WARN_CANT_CONNECT			2
#define PKT_WARN_CHAR_ALLREADY_IN_WORLD	3
#define PKT_WARN_LOGIN_ERR				4
#define PKT_WARN_CHAR_NAME_EXISTS		5
#define PKT_WARN_NO_ACCT_SLOTS_AVAIL	6

class PktWarn : public VxPktHdr
{
public:
	PktWarn()
	{
		memset( au8Res, 0, sizeof( au8Res ) );
		m_u16PktLen = sizeof( PktWarn );
		m_u16PktType = PKT_TYPE_WARN;
	}
	U16 u16WarnType; //warn type.. see PKT_WARN defines
	U8	au8Res[8];//res to round to 16 bytes
};


